package cn.ac.aircas.system.service;


import cn.ac.aircas.system.domain.SysRegion;
import cn.ac.aircas.system.domain.vo.CityVo;
import cn.ac.aircas.system.domain.vo.ProvinceCityVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
* @author li
* @description 针对表【t_region】的数据库操作Service
* @createDate 2025-04-07 14:58:30
*/
public interface ISysRegionService {

    List<SysRegion> selectRegionList(SysRegion sysRegion);

    List<SysRegion> getRegionDistrict(SysRegion sysRegion);

    List<CityVo> getRegionDistrictByCityName(String cityName);

    List<Map> getDistrictBoundaryByCityName(String cityName, String districtName);

    boolean importRegion(MultipartFile file);

    List<ProvinceCityVo> getCityList(String status);

    int updateRegion(SysRegion sysRegion);

    List<SysRegion> selectRegionList(SysRegion sysRegion, Long userId);

    List<SysRegion> selectRegionList(Long userId);

    List<Integer> selectRegionListByRoleId(Long roleId);
}
